package com.all.muliit.controller;

import com.all.muliit.service.ISysUserService;
import jakarta.annotation.Resource;
import lombok.extern.java.Log;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author LY
 * @create 2024/2/23 18:05
 */
@RestController
@RequestMapping("/sysUser")
@Log
public class SysUserController {

    @Resource
    private ISysUserService iSysUserService;

    @PostMapping("/save")
    public boolean save(){
        log.info("保存用户信息|SysUser|save");
        return iSysUserService.saveSysUser() && iSysUserService.saveSysUserMulit();
    }
}
